// geektutu.com
// main.go
package main

import (
	"github.com/gin-gonic/gin"
	"localhost.com/w2p_common/common"
	"log"
	"os"
	"strings"
)

func main() {



	var _configManager common.ConfigManager;
	readRes,fileContent :=_configManager.ReadFileContent(".env");

	if(!readRes.State){
		log.Println(readRes.Message);
		return ;
	}
	log.Println(fileContent)
	strings.Trim(fileContent, "");
	_pwd,_:=os.Getwd();
	log.Print("目前获得的路径是："+_pwd)
	r := gin.Default()
	r.GET("/", func(c *gin.Context) {
		c.String(200, "Hello, Geektutu")
	})
	r.Run() // listen and serve on 0.0.0.0:8080
}
